<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2021/1/21
  Time: 下午2:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<!--
 method="post"
 enctype="multipart/form-data"
-->
<form action="/doUpload" method="post" enctype="multipart/form-data">
    <input type="file" name="photo">
    <br>
    <input type="text" name="name">
    <input type="submit" value="上传">
</form>

</body>
</html>
